Repository navigation
Conversation
|
/bot run |
|
PR_Github #84811 [ run ] triggered by Bot. Commit: |
|
/bot run --disable-fail-fast |
|
PR_Github #84811 [ run ] completed with state
|
|
PR_Github #84815 [ run ] triggered by Bot. Commit: |
|
PR_Github #84815 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #84850 [ run ] triggered by Bot. Commit: |
|
/bot run --disable-fail-fast |
|
PR_Github #84866 [ run ] triggered by Bot. Commit: |
|
PR_Github #84850 [ run ] completed with state |
|
PR_Github #84866 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #84874 [ run ] triggered by Bot. Commit: |
|
PR_Github #84874 [ run ] completed with state
|
cf0bdcc to
e27ebc6
Compare
|
/bot run --disable-fail-fast |
e27ebc6 to
f30cafd
Compare
|
/bot run --disable-fail-fast |
1 similar comment
|
/bot run --disable-fail-fast |
|
PR_Github #84949 [ run ] triggered by Bot. Commit: |
|
/bot run --disable-fail-fast |
|
PR_Github #84959 [ run ] triggered by Bot. Commit: |
|
PR_Github #84949 [ run ] completed with state |
|
PR_Github #84959 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
a24d365 to
614e149
Compare
|
/bot run --disable-fail-fast |
|
PR_Github #88704 [ run ] triggered by Bot. Commit: |
|
PR_Github #88698 [ run ] completed with state |
|
/bot run --disable-fail-fast |
|
PR_Github #88731 [ run ] triggered by Bot. Commit: |
|
PR_Github #88704 [ run ] completed with state Resource maintenance in LLM/main/L0_Test-x86_64-Single-GPU #11862: AWS-PDX-SLURM-1 is unavailable for maintenance on 2026-12-02 17:00-23:00 UTC; H100_PCIe-PyTorch-Perf-1 was retired from main.
|
|
PR_Github #88731 [ run ] completed with state Resource maintenance in LLM/main/L0_Test-x86_64-Single-GPU #10899: AWS-PDX-SLURM-1 is unavailable for maintenance on 2026-12-02 17:00-23:00 UTC; H100_PCIe-PyTorch-Perf-1 was retired from main.
|
|
/bot run --disable-fail-fast |
|
PR_Github #88756 [ run ] triggered by Bot. Commit: |
|
/bot run --disable-fail-fast |
|
PR_Github #88762 [ run ] triggered by Bot. Commit: |
|
PR_Github #88756 [ run ] completed with state |
|
/bot run --disable-fail-fast |
1 similar comment
|
/bot run --disable-fail-fast |
|
PR_Github #88783 [ run ] triggered by Bot. Commit: |
|
PR_Github #88762 [ run ] completed with state |
|
PR_Github #88783 [ run ] completed with state Resource maintenance in LLM/main/L0_Test-x86_64-Single-GPU #11880: AWS-PDX-SLURM-1 is unavailable for maintenance on 2026-12-02 17:00-23:00 UTC; H100_PCIe-PyTorch-Perf-1 was retired from main.
|
|
/bot run --disable-fail-fast |
|
PR_Github #88861 [ run ] triggered by Bot. Commit: |
|
/bot run --disable-fail-fast |
|
PR_Github #88914 [ run ] triggered by Bot. Commit: |
|
PR_Github #88861 [ run ] completed with state Resource maintenance in LLM/main/L0_Test-x86_64-Single-GPU #11186: AWS-PDX-SLURM-1 is unavailable for maintenance on 2026-12-02 17:00-23:00 UTC; H100_PCIe-PyTorch-Perf-1 was retired from main.
|
zongfeijing
left a comment
There was a problem hiding this comment.
Kernel-side review (the 30 kernel-owned files and their call sites only): LGTM on correctness.
quantize_mxfp8_x16/quantize_mxfp8_tile128x4(quantization.cuh:1108-1252): index math, tails, padding rows and padded SF columns write the same bytes asquantize_with_block_size; the 2-lane SF shuffles stay converged (even column bounds, clamped tile loads); PDL wait/trigger match the 8-element kernel. Output alignment is covered in the CodeRabbit thread.noAuxTcRoutingWeight(noAuxTcKernels.cu:122-148) returns early only when its result equals main's FP64 expression.- The removed
trtllm::MiniMax-M3 ops/kernels leave no includes ortorch.ops.trtllm.*callers behind.
Non-blocking, test coverage:
- Following up on the earlier
test_fp8_quantize.pynotes: x16 is now SM107-only, and every Blackwell list that runs this file (B200, B300, GB300) is SM100/SM103, where both switches do nothing, sotest_mxfp8_quantize_16elt_matches_8elt(test_fp8_quantize.py:372) compares the 8-element kernel with itself. l0_gr100 does not list the file, so neither new kernel runs in CI. Please add the test to l0_gr100 and skip it off SM107. noAuxTcFp32WeightEnabled()(noAuxTcKernels.cu:152-156) makes the FP32-weight kernels the default on every GPU, while the reason at :114 is Rubin-specific. Its parity test runs only in post-merge l0_gr100 and is--ignored at l0_h100.yml:100 and l0_b200.yml:374. Gate it to SM107 like x16, or keep the test in one Hopper/Blackwell list.- No test calls
trtllm::globaltimer_stamp(globaltimerStampOp.cpp:31) any more;test_gpu_timestamp.py, cited in earlier threads, is gone. A small check (two stamps aroundtorch.cuda._sleepvs. a timed-event pair) would cover it.
| @skip_pre_blackwell_unittest | ||
| @pytest.mark.skipif(os.environ.get("TRTLLM_DISABLE_MXFP8_QUANT_16ELT") == "1", | ||
| reason="the 16-element path is disabled in this process") | ||
| def test_mxfp8_quantize_16elt_matches_8elt(tmp_path): |
There was a problem hiding this comment.
Following up on the earlier notes on this test: with the x16 path now gated to SM107, both kill switches are no-ops on every GPU that runs this file in CI. The kernels/parallel entries of l0_b200, l0_b300, l0_gb300 and l0_gb300_multi_gpus run on SM100/SM103, and l0_h100 skips the test, so all 192 cases compare the 8-element kernel with itself. l0_gr100, the only 10.7 list, names its files one by one and does not include this one, so quantize_mxfp8_tile128x4 and quantize_mxfp8_x16 never run in CI.
Suggest adding unittest/_torch/kernels/parallel/test_fp8_quantize.py::test_mxfp8_quantize_16elt_matches_8elt to l0_gr100 and skipping the test when getSMVersion() != 107. That also saves the child-process run on the other lists.
| // TRTLLM_DISABLE_NOAUX_TC_FP32_WEIGHT=1 keeps the FP64 expression. | ||
| static bool noAuxTcFp32WeightEnabled() | ||
| { | ||
| static bool const enabled = !getEnvSwitch("TRTLLM_DISABLE_NOAUX_TC_FP32_WEIGHT").value_or(false); |
There was a problem hiding this comment.
This turns the FP32-weight kernels on for every GPU and every float-output noaux_tc caller, for example DeepSeek-V3/R1 and Kimi-K2 style routing on H100/B200/B300. The comment at :114 gives a reason that applies only to Rubin (the FP64 clock drop). The fast path is exact by construction, but its only parity check, test_noaux_tc_fp32_weight.py, runs in post-merge l0_gr100. Every list that runs kernels/parallel on those GPUs --ignores it (l0_h100.yml:100, l0_b200.yml:374, l0_b300.yml:64, l0_gb300.yml:71).
Either gate fp32Weight to getSMVersion() == 107, as the x16 quantize path now is, or keep the test in one pre-merge Hopper or Blackwell list.
|
|
||
| //! Store the GPU's %globaltimer (ns) into out[0] on the current stream (see kernels/globaltimerStamp.h). | ||
| //! out: an int64 CUDA tensor of >= 1 element. | ||
| void globaltimerStamp(torch::Tensor& out) |
There was a problem hiding this comment.
Nothing in the tree exercises this op at this head. test_gpu_timestamp.py, which earlier review threads cite, is gone, and no remaining test calls torch.ops.trtllm.globaltimer_stamp or GpuTimestamp. A small GPU test would catch a missing registration (which silently falls back to timed events) or a wrong unit: check that the op is registered, and that two GpuTimestamps around torch.cuda._sleep agree with a timed-event pair.
… for Rubin (SM107) Runtime and executor work behind the MiniMax-M3.1-Flash Rubin targets: step-loop host hooks and their kill switches, disaggregated draft-KV transfer, context preemption and fill policies, response and admission fast paths, speculative-decoding uploads and one-hot draft-prob fills, NVFP4 index keys for the MSA indexer, KV cache manager v2 additions, a context-only KV connector mode, and the router and serving changes the targets need. Engine features keep main's defaults; the M3.1 targets opt into them through RuntimeHooks (fabric batch writer, generation KV prefetch, decode completion reservation, context-only preemption, store-aware shortest-first ranking, NIXL bounce scatter on the order stream, executor thread pinning), each with an environment override. The M3.1 MegaMoE leaf picks its own default tactics (DEP8 decode bucket 128, DEP2 prefill 16K rows) through a new runner `_default_tactic` hook, fills the gather-index padding once per workspace and replays eager launches. It also drops the trtllm:: originals of MiniMax-M3 kernels the targets no longer call, removes the M3.1 runtime-hook compat shim, adds DSpark acceptance checks to the M3.1 accuracy tests, and fixes a tp2ctx startup abort from a leaked NCCL window buffer. Signed-off-by: peihengh <259410613+peihu-nv@users.noreply.github.com>
|
/bot run --disable-fail-fast |
|
PR_Github #88927 [ run ] triggered by Bot. Commit: |
|
PR_Github #88914 [ run ] completed with state |
Dev Engineer Review
idxk_split,router_split, andruntime_hooks_compat.py. Several comments now citecsrc/m3/...sources that the summary does not show as added. Confirm those files exist in the change set. The SM107 TP4mcAllreduceNormTp4.cuhas no replacement in the diff.RuntimeHooks. These features default on, each with a kill switch: GPU timestamps, async stats RPC, lazy event scrub, GIL fast path, MXFP8 quant x16 and tile128x4 paths, float no-aux top-k path, and FlashInfer FP4 quantize at 4096+ rows. Confirm that these defaults match the stated intent.TRTLLM_M3_KV_POOL_ZERO_INITto equal"1". An unset variable defaults to"1", so the check passes by default. Confirm this behavior change is intended.setScatterOrderStreamand the fabric writer shutdown path involve locks, shutdown ordering, and fail-stop behavior. A race test covers the stream setter.scripts/vendor/manage.pynow skips unselected links and submodules. The build adds an opt-inBUILD_MSA_AOToption.QA Engineer Review
Test changes exist. Coverage is broad but mostly CPU-only. GPU and model-weight tests were not run, per the objectives. Two integration tests reached time limits without failures. C++ bounce gtests were reported as updated and run in CI, but no completed CI result is shown on the current head.
l0_a10(GPU timestamp, completion reservation, block-offset guard, prefix token cache int32),l0_b200(FP4 quant backend),l0_cpu(M3.1 hooks, pins, autotune cache, proxy stats, NVFP4 indexer config), andl0_gr100(step hooks, pins, tail-back, primitives).test_fabric_writer_2gpu.pyandtest_prims_ts_worktile_scope.py, are not shown in the provided list excerpts.Per-file QA perspective (grouped by area):
ExecPoolpriority tests. Verify scatter counters and fallback under capture.BATCH_CHANGED_ONLY,SKIP_ACCEPTED_UPLOAD). Verify KeyError or ignore behavior for removed IDs.context_only,enable_disagg_completion_reservation,nvfp4indexer dtype, and router session limits. Verify schema defaults and validation errors.Description
Runtime half of the MiniMax-M3.1-Flash Rubin (SM107) merge-back. #22261 added the Modeling V2 targets; this PR adds the engine support they use.
Defaults are unchanged. Each feature is opt-in through
RuntimeHooks(with an env override); a model that sets no hook runs exactly as on main. The six M3.1 targets opt in to what they use.KvCacheConnectorConfig.context_only(connector + speculative decoding on a context server)rejection_sample_method: block), sampler override hooks, sync-free one-hot draft probsRuntimeHooks.sparse_attention, NVFP4 index keys, long-context CUDA graphs, optional MSA AOT buildnoaux_tcweights, AutoTuner tactic bundles, a per-model MegaMoE_default_tactichooktrtllm::M3 kernels and the compat shim; adds DSpark acceptance checks to the M3.1 accuracy testsTest Coverage
PR Checklist
Please review the following before submitting your PR:
PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.
PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.
Test cases are provided for new code paths (see test instructions)
If PR introduces API changes, an appropriate PR label is added - either
api-compatibleorapi-breaking. Forapi-breaking, includeBREAKINGin the PR title.Any new dependencies have been scanned for license and vulnerabilities
CODEOWNERS updated if ownership changes
Documentation updated as needed
Update tava architecture diagram if there is a significant design change in PR.
The reviewers assigned automatically/manually are appropriate for the PR.
Please check this after reviewing the above items as appropriate for this PR.
GitHub Bot Help
To see a list of available CI bot commands, please comment
/bot help.